package com.worklog.pojo;

import java.sql.Timestamp;
import java.util.Date;

import com.base.pojo.BaseBean;
import com.system.pojo.Dept;
import com.system.pojo.Person;

/**
 * Worklog entity. @author MyEclipse Persistence Tools
 */

public class Worklog extends BaseBean {

	// Fields

	private Integer id;
	private Person person;
	private String personName;
	private String content;
	private Date date;
    private Dept dept;
	// Constructors

	/** default constructor */
	public Worklog() {
	}

	/** full constructor */
	public Worklog(Person person, String personName, String content,
			Date date) {
		this.person = person;
		this.personName = personName;
		this.content = content;
		this.date = date;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public Person getPerson() {
		return person;
	}

	public void setPerson(Person person) {
		this.person = person;
	}

	public String getPersonName() {
		return this.personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public Dept getDept() {
		return dept;
	}

	public void setDept(Dept dept) {
		this.dept = dept;
	}



}